package com.neuedu.system.mapper;

import java.util.List;
import com.neuedu.system.domain.AAAAYunongHouseholdInfo;
import com.neuedu.system.domain.AAAAYunongFamilyMemberInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
 * 户主信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-18
 */
@Mapper
public interface AAAAYunongHouseholdInfoMapper extends BaseMapper<AAAAYunongHouseholdInfo>
{
    /**
     * 查询户主信息
     *
     * @param id 户主信息主键
     * @return 户主信息
     */
    public AAAAYunongHouseholdInfo selectAAAAYunongHouseholdInfoById(Long id);

    /**
     * 查询户主信息列表
     *
     * @param aAAAYunongHouseholdInfo 户主信息
     * @return 户主信息集合
     */
    public List<AAAAYunongHouseholdInfo> selectAAAAYunongHouseholdInfoList(AAAAYunongHouseholdInfo aAAAYunongHouseholdInfo);

    /**
     * 新增户主信息
     *
     * @param aAAAYunongHouseholdInfo 户主信息
     * @return 结果
     */
    public int insertAAAAYunongHouseholdInfo(AAAAYunongHouseholdInfo aAAAYunongHouseholdInfo);

    /**
     * 修改户主信息
     *
     * @param aAAAYunongHouseholdInfo 户主信息
     * @return 结果
     */
    public int updateAAAAYunongHouseholdInfo(AAAAYunongHouseholdInfo aAAAYunongHouseholdInfo);

    /**
     * 删除户主信息
     *
     * @param id 户主信息主键
     * @return 结果
     */
    public int deleteAAAAYunongHouseholdInfoById(Long id);

    /**
     * 批量删除户主信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAAAAYunongHouseholdInfoByIds(Long[] ids);

    /**
     * 批量删除家庭成员信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAAAAYunongFamilyMemberInfoByHouseholdIds(Long[] ids);

    /**
     * 批量新增家庭成员信息
     *
     * @param aAAAYunongFamilyMemberInfoList 家庭成员信息列表
     * @return 结果
     */
    public int batchAAAAYunongFamilyMemberInfo(List<AAAAYunongFamilyMemberInfo> aAAAYunongFamilyMemberInfoList);


    /**
     * 通过户主信息主键删除家庭成员信息信息
     *
     * @param id 户主信息ID
     * @return 结果
     */
    public int deleteAAAAYunongFamilyMemberInfoByHouseholdId(Long id);
}
